<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>
    <link rel="stylesheet" th:href="@{/admin/dist/css/login.css}">
    <script src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
</head>
<body>
<h1 align="center" style="margin: 100px auto;  font-size: 40px; color:black">欢迎登录并夕夕后台</h1>
<div class="main">
    <div class="content">
        <div class="login">
            <div class="back">
                <!--                <div align="center" style="font-size: 30px; margin-top: 40px;">登录</div>-->
                <div class="input-box">
                    <form action="/admin/login" method="post" name="myForm">
                        <!--                        <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>-->
                        <input class="input" type="text" placeholder="用户名" name="username" required><br/>
                        <input class="input" type="password" placeholder="密码" name="password" required>
                        <button id="TencentCaptcha" data-appid="2000719962" data-cbfn="callback" class="submit"
                                type="button">
                            提交
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script th:if="${param.error}" th:inline="javascript">
    alert("账号或密码错误")
</script>
<script th:src="@{/admin/dist/js/login.js}"></script>
<!-- jQuery -->
<script th:src="@{/admin/plugins/jquery/jquery.min.js}"></script>
<!-- jQuery UI 1.11.4 -->
<script th:src="@{/admin/plugins/jQueryUI/jquery-ui.min.js}"></script>
<!-- ajaxupload -->
<script th:src="@{/admin/plugins/ajaxupload/ajaxupload.js}"></script>
</body>
</html>
